<template>
  <div class="q-pa-md">
    <t-toolbar class="bg-purple text-white shadow-2 rounded-borders">
      <t-btn flat label="Homepage" />
      <t-space />

      <!--
        notice shrink property since we are placing it
        as child of QToolbar
      -->
      <t-tabs v-model="tab" shrink>
        <t-tab name="tab1" label="Tab 1" />
        <t-tab name="tab2" label="Tab 2" />
        <t-tab name="tab3" label="Tab 3" />
      </t-tabs>
    </t-toolbar>
  </div>
</template>

<script>
  import { ref } from 'vue';

  export default {
    setup() {
      return {
        tab: ref(''),
      };
    },
  };
</script>
